SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspPermission_INSERT
(
@accountId AS int = null,
@accessRoleId AS int = null,
@createdDate AS datetime = null,
@lastModifiedDate AS datetime = null,
@isDeleted AS nchar(10) = null
)
AS

INSERT INTO
  [dbo].[Permission]
(
  [AccountId],
  [AccessRoleId],
  [CreatedDate],
  [LastModifiedDate],
  [IsDeleted]
)
VALUES
(
  @accountId,
  @accessRoleId,
  @createdDate,
  @lastModifiedDate,
  @isDeleted
)

SELECT SCOPE_IDENTITY()


GO
